import http from '../utils/http.js';

export function addressBookList() {
  return http.get('/user/addressBook/list')
}
export function addAddress(data) {
  return http.post('/user/addressBook/add',data)
}1
export function editAddress(data) {
  return http.post('/user/addressBook/edit',data)
}
export function deleteAddress(id) {
  return http.delete(`/user/addressBook/delete/${id}`)
}